/* Tailwind 自定义工具类 */
@layer utilities {
    .content-auto {
        content-visibility: auto;
    }
    .card-shadow {
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    }
    .gradient-bg {
        background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
    }
    .animate-fade-in {
        animation: fadeIn 0.5s ease-in;
    }
}

/* 全局样式 */
body {
    min-height: 100vh;
}

/* 动画定义 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 投资建议高亮样式 */
.investment-advice {
    background: linear-gradient(135deg, #ebf8ff 0%, #e6f7ff 100%);
    border-left: 4px solid #3182ce;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    font-weight: 600;
    color: #1e40af;
    box-shadow: 0 4px 6px -1px rgba(49, 130, 206, 0.1);
    border-right: 1px solid #93c5fd;
    border-bottom: 1px solid #93c5fd;
}

.investment-advice h4 {
    color: #0369a1;
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 18px;
    font-weight: 700;
}

.investment-advice ul {
    margin: 10px 0;
    padding-left: 20px;
}

.investment-advice li {
    margin: 8px 0;
    line-height: 1.6;
}

/* 股票列表样式 */
.stocks-list-container {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
}

.stocks-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px;
}

.stock-tag {
    background-color: #f3f4f6;
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.stock-tag:hover {
    background-color: #e5e7eb;
    transform: translateY(-2px);
}

.stock-code {
    font-weight: 600;
    color: #1f2937;
}

.stock-name {
    margin-left: 5px;
    color: #4b5563;
}

/* 简单文本显示样式 */
.simple-text-display {
    line-height: 1.6;
    color: #333;
    font-size: 1rem;
    padding: 1rem;
    background-color: #fff;
    border-radius: 4px;
}

/* 移除可能导致问题的复杂样式 */